package dao

import "log"

func GetUserNameById() string {
	var userName string
	row, err := DB.Query("select * from blog_category where cid = ?", cId)
	if err != nil {
		log.Println(err)
		return
	}
	//查询到的结果应该是唯一的

	_ = row.Scan(&categoryName)
	return userName
}
